/**
 * Copyright (c) Huawei Technologies Co., Ltd. 1987-2021. All rights reserved.
*/

package com.gitee.fufu669.aspect;

import com.gitee.fufu669.common.CacheKeyCommon;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/** 立即返回，然后调多线程执行代码 */
@Target(ElementType.METHOD)
// 注解
@Retention(RetentionPolicy.RUNTIME)
/** @author wangfupeng */
/**
 * TODO
*/
public @interface MockExecuteLater {

    /**Integer 执行之间的间隔秒数, 默认是-1，意思是立即执行。*/
    int secondsBetweenExecutions() default CacheKeyCommon.MOCKEXECUTELATER_DEFAULT_SECONDS_BETWEEN_EXECUTIONS;

    /**在打印日志时会出现的提示*/
    String description() default "";
}
